package com.hunter.tools;

public class ContentProcess {
	private String content;

	public ContentProcess(String content) {
		super();
		this.content = content;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
		process();
	}
	
	private void process()
	{
		this.content=this.content.replaceAll("(?i)(<SCRIPT)[\\s\\S]*?((</SCRIPT>)|(/>))", "")
		.replaceAll("(?i)(<Link)[\\s\\S]*?((</Link>)|(/>))", "")
		.replaceAll("(?i)(<style)[\\s\\S]*?((</style>)|(/>))", "");
	}
}
